package com.neusoft.Shixun.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

import java.io.Serializable;
import java.time.LocalDateTime;

@TableName("client_meal_preferences")
public class ClientMealPreferences implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer preferenceId; // 膳食配置唯一标识

    @TableField("client_id")
    private Integer clientId; // 客户ID

    @TableField("flavor_preferences")
    private String flavorPreferences; // 口味偏好

    @TableField("portion_preferences")
    private String portionPreferences; // 餐量偏好

    @TableField("eating_habits")
    private String eatingHabits; // 饮食习惯

    @TableField("allergenic_foods")
    private String allergenicFoods; // 过敏食物

    @TableField("forbidden_foods")
    private String forbiddenFoods; // 忌口食物

    @TableField("medical_instructions")
    private String medicalInstructions; // 医嘱要求

    @TableField("created_at")
    private LocalDateTime createdAt; // 创建时间

    @TableField("updated_at")
    private LocalDateTime updatedAt; // 更新时间

    // Getters and Setters
    public Integer getPreferenceId() {
        return preferenceId;
    }

    public void setPreferenceId(Integer preferenceId) {
        this.preferenceId = preferenceId;
    }

    public Integer getClientId() {
        return clientId;
    }

    public void setClientId(Integer clientId) {
        this.clientId = clientId;
    }

    public String getFlavorPreferences() {
        return flavorPreferences;
    }

    public void setFlavorPreferences(String flavorPreferences) {
        this.flavorPreferences = flavorPreferences;
    }

    public String getPortionPreferences() {
        return portionPreferences;
    }

    public void setPortionPreferences(String portionPreferences) {
        this.portionPreferences = portionPreferences;
    }

    public String getEatingHabits() {
        return eatingHabits;
    }

    public void setEatingHabits(String eatingHabits) {
        this.eatingHabits = eatingHabits;
    }

    public String getAllergenicFoods() {
        return allergenicFoods;
    }

    public void setAllergenicFoods(String allergenicFoods) {
        this.allergenicFoods = allergenicFoods;
    }

    public String getForbiddenFoods() {
        return forbiddenFoods;
    }

    public void setForbiddenFoods(String forbiddenFoods) {
        this.forbiddenFoods = forbiddenFoods;
    }

    public String getMedicalInstructions() {
        return medicalInstructions;
    }

    public void setMedicalInstructions(String medicalInstructions) {
        this.medicalInstructions = medicalInstructions;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
}